package com.lyncs.ods.modules.share.strategy;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author alex
 * @date 2022/4/21 22:21
 * @description
 */
@Component("userStrategy")
@Slf4j
public class UserStrategy extends ShareStrategy {

    @Override
    public Object handle(String data) {
        log.info("【邀请单人加入企业】功能完善中");
        return null;
    }

    @Data
    static class UserCompanyInfo {
        @JSONField(name = "user_id")
        private Long userId;
        @JSONField(name = "company_id")
        private Long companyId;
    }
}
